<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <LINK rel="Bookmark" href="/favicon.ico">
    <LINK rel="Shortcut Icon" href="/favicon.ico"/>
    <!--[if lt IE 9]>
    <script type="text/javascript" src="/Public/static/html5.js"></script>
    <script type="text/javascript" src="/Public/static/respond.min.js"></script>
    <script type="text/javascript" src="/Public/Admin/js/PIE_IE678.js"></script>
    <![endif]-->
    <link href="/Public/Admin/css/manager/H-ui.min.css" rel="stylesheet" type="text/css"/>
    <link href="/Public/Admin/css/manager/H-ui.admin.css" rel="stylesheet" type="text/css"/>
    <link href="/Public/Admin/css/skin/default/skin.css" rel="stylesheet" type="text/css"/>
    <link href="/Public/Admin/css/manager/Hui-iconfont/1.0.1/iconfont.css" rel="stylesheet" type="text/css"/>
    <link href="/Public/Admin/css/common.css" rel="stylesheet" type="text/css"/>
    <link href="/Public/Admin/css/application.css" rel="stylesheet" type="text/css"/>
    <title>后台</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <script type="text/javascript" src="/Public/static/jquery-1.11.1.min.js"></script>
    <script type="text/javascript" src="/Public/static/layer/layer.js"></script>
    <script type="application/javascript" src="/Public/static/form/jquery.validate.min.js"></script>
    <script type="application/javascript" src="/Public/static/form/localization/messages_zh.min.js"></script>
    <script type="text/javascript" src="/Public/Admin/js/H-ui.js"></script>
    <script type="text/javascript" src="/Public/Admin/js/H-ui.admin.js"></script>
    <script type="text/javascript" src="/Public/Admin/js/common.js"></script>
    <script type="text/javascript" src="/Public/Admin/js/jquery.raty.min.js"></script>
    <script type="text/javascript" src="/Public/Admin/js/timer.js"></script>
    <script type="text/javascript">
        $(function () {
            //搜索功能
            $("#search_layer").click(function () {
                layer.closeAll();
                layer.open({
                    type: 2,
                    title: 'id搜索工具',
                    shadeClose: true,
                    shade: false,
                    maxmin: true, //开启最大化最小化按钮
                    area: ['650px', '550px'],
                    content: '<?php echo U("/Admin/Doctor/NRDoctor/search");?>'
                });
            });
        })
    </script>
</head>
<!--表单-->
<div class="pd-20">
    <form action="" method="post" class="form form-horizontal" id="submitForm">
        <div class="row cl">
            <label class="form-label col-3">疾病名称</label>
            <div class="formControls col-5">
                <input type="text" class="input-text" name="disease_name" value="<?php echo ($disease_name); ?>" required id="disease_name">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-3">科室分类</label>
            <div class="formControls col-5">
                <select name="section_office_id" class="input-text" id="section_office_id">
                    <option value="" <?php if($section_office_id == ''): ?>selected<?php endif; ?>>无</option>
                    <?php if(is_array($keshi)): $i = 0; $__LIST__ = $keshi;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><option value="<?php echo ($vo["id"]); ?>" <?php if($vo["id"] == $section_office_id): ?>selected<?php endif; ?>><?php echo ($vo["type_name"]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
                </select>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-3">人群分类</label>
            <div class="formControls col-5">
                <select name="crowd_id" class="input-text" id="crowd_id">
                    <option value="" <?php if(crowd_id == ''): ?>selected<?php endif; ?>>无</option>
                    <?php if(is_array($renqun)): $i = 0; $__LIST__ = $renqun;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><option value="<?php echo ($vo["id"]); ?>" <?php if($vo['id'] == $crowd_id): ?>selected<?php endif; ?>><?php echo ($vo["type_name"]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
                </select>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-3">概述</label>
            <div class="formControls col-5">
                <textarea name="summary" id="summary" style="margin: 0px; height: 66px; width: 341px;" required><?php echo ($summary); ?></textarea>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-3">病因</label>
            <div class="formControls col-5">
                <textarea name="disease_reason" id="disease_reason" style="margin: 0px; height: 66px; width: 341px;" required><?php echo ($disease_reason); ?></textarea>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-3">临床表现</label>
            <div class="formControls col-5">
                <textarea name="clinical_manifestations" id="clinical_manifestations" style="margin: 0px; height: 66px; width: 341px;" required><?php echo ($clinical_manifestations); ?></textarea>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-3">并发症</label>
            <div class="formControls col-5">
                <textarea name="complication" id="complication" style="margin: 0px; height: 66px; width: 341px;" required><?php echo ($complication); ?></textarea>
            </div>
        </div>
        <div class="row cl">
        <label class="form-label col-3">实验室检查</label>
        <div class="formControls col-5">
            <textarea name="laboratory_check" id="laboratory_check" style="margin: 0px; height: 66px; width: 341px;" required><?php echo ($laboratory_check); ?></textarea>
        </div>
    </div>
        <div class="row cl">
            <label class="form-label col-3">诊断</label>
            <div class="formControls col-5">
                <textarea name="diagnosis" id="diagnosis" style="margin: 0px; height: 66px; width: 341px;" required><?php echo ($diagnosis); ?></textarea>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-3">治疗</label>
            <div class="formControls col-5">
                <textarea name="treatment" id="treatment" style="margin: 0px; height: 66px; width: 341px;" required><?php echo ($treatment); ?></textarea>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-3">预防</label>
            <div class="formControls col-5">
                <textarea name="prophylaxis" id="prophylaxis" style="margin: 0px; height: 66px; width: 341px;" required><?php echo ($prophylaxis); ?></textarea>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-3">是否为常见疾病</label>
            <div class="formControls col-5">
                <label><input type="radio" name="is_common" value="0" <?php if($is_common == 0): ?>checked="checked"<?php endif; ?> /> 否</label> &nbsp;
                <label><input type="radio" name="is_common" value="1" <?php if($is_common == 1): ?>checked="checked"<?php endif; ?> /> 是</label>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-3">排序</label>
            <div class="formControls col-5">
                <input type="text" class="input-text" name="sort" placeholder="默认为0" value="<?php echo ($sort); ?>" required id="sort">
            </div>
        </div>
        <div class="row cl">
            <div class="col-9 col-offset-3">
                <input type="hidden" name="id" id="id" value="<?php echo ($id); ?>">
                <button class="btn btn-primary radius" id="submit" type="submit">确 定</button>
                <button class="btn btn-warning radius" onclick="history.back(-1);return false;">返 回</button>
            </div>
        </div>
    </form>
</div>
<!--引入js,css-->
<script type="text/javascript" src="/Public/static/common/js/func.js"></script>
<script type="text/javascript" src="/Public/static/common/js/add.js"></script>
<script type="text/javascript" src="/Public/static/common/js/laydate/laydate.js"></script>
<link type="text/css" href="/Public/static/uploadify/uploadify.css" rel="stylesheet"/>
<script type="text/javascript" src="/Public/static/uploadify/jquery.uploadify.min.js"></script>
<script type="text/javascript">
    //验证相关
    var validate_rules = {};
    var validate_messages = {};
</script>